package com.cskaoyan.bean.goods;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Hu
 * @create 2021-09-16 21:27
 * @Description
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Goods4Class {

    private MarketGoods goods;
    private List<MarketGoodsSpecification> specifications;
    private List<MarketGoodsProduct> products;
    private List<MarketGoodsAttribute> attributes;

//    @NoArgsConstructor
//    @Data
//    public static class Goods {
//        private String picUrl;
//        private List<String> gallery;
//        private Boolean isHot;
//        private Boolean isNew;
//        private Boolean isOnSale;
//        private String goodsSn;
//        private String name;
//        private String unit;
//        private String keywords;
//        private Integer categoryId;
//        private Integer brandId;
//        private String brief;
//        private String detail;
//    }
//
//    @NoArgsConstructor
//    @Data
//    public static class Specifications {
//        private String specification;
//        private String value;
//        private String picUrl;
//    }
//
//    @NoArgsConstructor
//    @Data
//    public static class Products {
//        private Integer id;
//        private List<String> specifications;
//        private String price;
//        private String number;
//        private String url;
//    }
//
//    @NoArgsConstructor
//    @Data
//    public static class Attributes {
//        private String attribute;
//        private String value;
//    }
}
